<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://java.sun.com/jsf/html" lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>搜索结果</title>
    <link rel="stylesheet" href="css/Mycss.css"/>
    <script src="js/jquery.min.js"></script>
</head>
<body>
<canvas id="bg"></canvas>
<div class="nav">
    <!--3D Logo 模块-->
    <div  class="LogoP">
        <div class="logo move">
            <div class="logo1"><canvas></canvas></div>
            <div class="logo2"><canvas></canvas></div>
            <div class="logo3"><canvas></canvas></div>
            <div class="logo4"><canvas></canvas></div>
            <div class="logo5"><canvas></canvas></div>
            <div class="logo6"><canvas></canvas></div>
        </div>
    </div>

    <div th:substituteby="nav::nav" class="menuBar">

    </div>
</div>
<div class="content searchContent">
    <div th:if="${articles}" th:each="article:${articles}"  class="ArticlePanel scrollbar">
        <div class="articleInfo">
            <img  th:src="@{${article.user.userInfo.photo?:'photo/0.png'}}" class="authorPhoto" src="123"/>
            <a th:href="@{user{id}(id=${article.user.id})}" th:text="${article.user.userInfo.nickName}?:${article.user.name}" class="author">author</a>
            <span class="createTime" th:text="'发表时间'+${article.createTime}"></span>
            <span th:text="'查看'+${article.click}"></span>
        </div>
        <a th:href="@{Article{id}(id=${article.id})}" th:utext="${article.name}" class="title at">Title</a>
        <a th:if="${isManager}" href="#">封禁该文章</a>
    </div>
</div>

<div class="ArticlePanel scrollbar model" style="display: none">
    <div class="articleInfo">
        <img  class="authorPhoto" src=""/>
        <a  class="author">author</a>
        <span class="createTime" ></span>
        <span class="ck"></span>
    </div>
    <a  class="title at">Title</a>

</div>

<script src="js/MyBgNav.js"></script>
<script src="js/search.js"></script>

</body>
</html>